<template>
  <div id="app">
    <a-config-provider
        :locale="zhCN"
        :theme='{
          "token": {
            "colorBgBase": "#051346",
            "colorTextBase": "#ffffff",
            "colorBgSpotlight": "#0075ff",
            "colorBorderSecondary": "#082867",
            "colorTextQuaternary": "#8c8c8c",
            "colorBorder": "#125f90",
            "colorPrimaryBorder": "#9fcef9",
            "colorPrimaryBorderHover": "#007bff",
            "colorPrimaryBg": "#0b3075",
            "colorPrimary": "#1677ff"
          },
        }'
    >
      <router-view></router-view>
    </a-config-provider>
  </div>
</template>

<script setup lang="ts">
import zhCN from 'ant-design-vue/es/locale/zh_CN';

import {useRouter} from "vue-router";
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';

dayjs.locale('zh-cn');
const router = useRouter();
router.push({
  path: "/login",
});
</script>
